import { Base64 } from "../lib/base64";

export function arrayBuffer2base64String(buffer: ArrayBuffer): string {
  return Base64.btoa(String.fromCharCode(...new Uint8Array(buffer)));
}
